package com.tjetc.mapper;

import com.tjetc.domain.HospitalLevel;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import org.apache.ibatis.annotations.Select;

public interface HospitalLevelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HospitalLevel record);

    int insertSelective(HospitalLevel record);

    HospitalLevel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HospitalLevel record);

    int updateByPrimaryKey(HospitalLevel record);

    @Select("select id from hospital_level")
    int selectByName(String name);

    @Select("select * from hospital_level")
    List<HospitalLevel> selectAll();
}